const TokenKey = 'Admin-Token'

//拿缓存
export function getToken() {
  return wx.getStorageSync(TokenKey)
}

//存缓存
export function setToken(token) {
  return wx.setStorageSync(TokenKey,token)
}

//去缓存
export function removeToken() {
  return wx.removeStorageSync(TokenKey)
}

//清除全部缓存
export function clearToken() {
  return wx.clearStorageSync()
}
